package cn.daniel.commonutils.result;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum ResultCode implements MyResultCode {
    SUCCESS(20000, "响应成功"),
    ERROR(20001, "响应失败"),
    DATA_NO_EXIST(20003, "数据不存在"),
    UPLOAD_FILE_ERROR(20004, "文件上传失败"),
    FILE_EMPTY(20005, "文件为空"),
    VALID_CODE_SEND_FAIL(20006, "短信验证码发送失败"),
    LOGIN_ERROR(20007, "登录失败，用户名或密码错误！"),
    REGISTER_ERROR(20008, "注册失败"),
    GET_PLAYAUTH_FAIL(20009, "获取视频凭证失败"),
    WXPAY_FAIL(20010, "微信支付失败"),
    PARAMS_ERROR(20011, "参数校验失败"),
    DELETE_FILE_ERROR(20012,"删除文件失败");

    private Integer code;
    private String message;


}
